package com.shen.pojo;

/**
 * Author:shen
 * CreateDate:2020/4/28.
 * Function:
 */
public class Computer {
    private String brand;
    private double price;
    private String Color;
    private int size;

    public Computer() {
    }

    public Computer(String brand, double price, String color, int size) {
        this.brand = brand;
        this.price = price;
        Color = color;
        this.size = size;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getColor() {
        return Color;
    }

    public void setColor(String color) {
        Color = color;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "Computer{" +
                "brand='" + brand + '\'' +
                ", price=" + price +
                ", Color='" + Color + '\'' +
                ", size=" + size +
                '}';
    }
}
